package com.iengoo.inductionms.service.impl;

import com.iengoo.inductionms.entity.Profession;
import com.iengoo.inductionms.mapper.ProfessionMapper;
import com.iengoo.inductionms.service.ProfessionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Author:huermao
 **/
@Service
public class ProfessionServiceImpl implements ProfessionService {
    @Autowired
    private ProfessionMapper professionMapper;
    @Override
    public List<Profession> queryAll() {
        List<Profession> professionList = professionMapper.queryAll();
        return professionList;
    }
}
